package com.gxf.drugmg.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class WebController {
    
    @GetMapping("/")
    public String index() {
        return "index";
    }
    
    @GetMapping("/recognition")
    public String recognition() {
        return "recognition";
    }
    
    @GetMapping("/history")
    public String history() {
        return "history";
    }
    
    @GetMapping("/drugs")
    public String drugs() {
        return "drugs";
    }
}